<?php


namespace App\Http\Requests\Common;


use Illuminate\Foundation\Http\FormRequest;

class ImageRequest extends FormRequest
{
    /**
     * rules
     * @author luffyzhao@vip.126.com
     * @return array
     */
    public function rules(): array
    {
        return [
            'file' => ['required', 'image']
        ];
    }
}
